package com.gxa.p2p.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * 银行卡
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BankCard implements Serializable {

    private static final long serialVersionUID = 8054702048175348963L;
    private Integer id;
    /**
     * 用户ID
     */
    private Integer userId;


    /**
     * 银行账户
     */

    private String bankAccount;
    /**
     * 身份证
     */
    private String idCard;
    /**
     * 电话号码
     */
    private String phoneNumber;
    /**
     * 开户名
     */
    private String name;
    /**
     * userInfo关联用
     */
    private UserInfo userInfo;
    /**
     * 银行名称
     */
    private String bankName;
}